fix(core/github): edDraftURI opt-out and custom newIssuesURL#5246
fix(core/github): edDraftURI opt-out and custom newIssuesURL#5246marcoscaceres wants to merge 2 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub integration in ReSpec’s core config normalization so specs can customize the “new issue” destination and aims to support opting out of the GitHub-derived edDraftURI. It also extends the GitHub module’s localized strings and adds/updates tests around the new config behavior.
Changes:
- Add support for
github.newIssuesURLand use it when generating GitHub feedback links. - Adjust
core/githubhandling aroundedDraftURIgeneration when the config explicitly provides that field. - Add GitHub spec tests for
edDraftURIopt-out cases and customnewIssuesURL, plus French localization strings incore/github.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/core/github.js |
Adds French strings, introduces custom newIssuesURL parsing/validation, and changes edDraftURI defaulting logic. |
tests/spec/core/github-spec.js |
Adds tests for explicit edDraftURI values and normalization of custom newIssuesURL. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot Can you confirm all your feedback has been addressed? Can you fix anything that was not addressed? |
… link Agent-Logs-Url: https://github.com/speced/respec/sessions/20f04c30-6520-406b-b673-555dabf64b8b Co-authored-by: marcoscaceres <870154+marcoscaceres@users.noreply.github.com>
All three reviewer concerns have been addressed:
|
|
@copilot Can you confirm all your feedback has been addressed? Can you fix anything that was not addressed? |
All three reviewer concerns are fully addressed:
|
Closes #5103
Closes #4317